// import { stringify } from 'qs';
import request from '../utils/request';

export async function queryProjectNotice() {
  // return request('/api/project/notice');
  return new Promise(resolve => {
    resolve({});
  });
}

export async function queryActivities() {
  // return request('/api/activities');
  return new Promise(resolve => {
    resolve({});
  });
}

export async function fakeAccountLogin(params) {
  return request('/api/sys/token', {
    method: 'POST',
    body: params,
  });
}

export async function fakeRegister(params) {
  return request('/api/register', {
    method: 'POST',
    body: params,
  });
}

export async function queryNotices() {
  // return request('/api/notices');
  return new Promise(resolve => {
    resolve([]);
  });
}
